<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="ec" uri="http://www.extcloud.net"%>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta http-equiv="Pragma" content="no-cache">
<meta http-equiv="Expires" content="-1">
<title>欢迎页面</title>
<link rel="stylesheet" type="text/css"
	href="${pageContext.request.contextPath}/common/css/layout.css" />
<link rel="stylesheet" type="text/css"
	href="${pageContext.request.contextPath}/common/javascript/plugins/autocomplete/css/jquery.autocomplete.css" />
<link rel="stylesheet" type="text/css"
	href="${pageContext.request.contextPath}/management/css/list.css" />
<script type="text/javascript"
	src="${pageContext.request.contextPath}/common/javascript/jquery.js"></script>
<script type="text/javascript"
	src="${pageContext.request.contextPath}/common/javascript/plugins/jquery.extcloudSlideMenu.js"></script>
<script type="text/javascript"
	src="${pageContext.request.contextPath}/common/javascript/plugins/autocomplete/jquery.autocomplete.js"></script>
<%@include file="/WEB-INF/view/commonJavascriptVar.jsp"%>
<script type="text/javascript"
	src="${pageContext.request.contextPath}/management/javascript/list.js"></script>
<script type="text/javascript"
	src="${pageContext.request.contextPath}/management/javascript/operation.js"></script>
<script type="text/javascript">
$(function() {
	$("li.layout_search_pull_ss a").extcloudSlideMenu({
		init_hideMenu: true ,
		speed: "fast"
	}) ;
});
</script>
</head>
<body>
<div id="layoutAll">
<table cellpadding="0" cellspacing="0" width="100%" id="layout_content">
	<tr>
		<td height="100" valign="top">
		<div id="layout_title">
		<h4>前缀管理</h4>
		</div>
		<div id="layout_search" style="display: block;">
		<center><input name="keyword" id="keyword" value="${keyword}" />
		<input type="button" id="submit" class="searchButton" value="搜  索"></center>
		</div>
		<div id="layout_search_pull">
		<ul>
			<li><a
				href="${pageContext.request.contextPath}/management/equipment/prefix/preadd">增加</a></li>
			<li><img
				src="${pageContext.request.contextPath}/common/images/menufg.jpg" /></li>
			<li><a id="backSubmit" href="javascript:void(0);"
				onclick="javascript:del('delete/','ids');">删除</a></li>
			<li><img
				src="${pageContext.request.contextPath}/common/images/menufg.jpg" /></li>
			<li><a id="backSubmit" href="javascript:void(0);"
				onclick="javascript:update();">修改</a></li>
			<li><img
				src="${pageContext.request.contextPath}/common/images/menufg.jpg" /></li>
			<li class="layout_search_pull_ss"><a href="#"><img
				src="${pageContext.request.contextPath}/common/images/menu_up.gif" /></a></li>
		</ul>
		</div>
		</td>
	</tr>
	<tr>
		<td valign="top">
		<div id="layout_content_body">
		<h1 align="center">前缀列表</h1>
		<center>
		<table align="center" width="90%" border="1px" bordercolor="#D4D4D4"
			cellspacing="0px">
			<thead>
				<tr>
					<th width="40">序号</th>
					<th>名称</th>
					<th>描述</th>
					<th>等级</th>
					<th>关键字</th>
				</tr>
			</thead>
			<tbody>
				<c:forEach items="${paginationModel.object}" var="prefix"
					varStatus="status">
					<tr>
						<td style="text-align: center;">${status.index+1}&nbsp;<input
							type="checkbox" name="ids" value="${prefix.prefixId}" /></td>
						<td><a
							href="${pageContext.request.contextPath}/management/equipment/prefix/preupdate/${prefix.prefixId}">${prefix.prefixName}</a>
						</td>
						<td>${prefix.prefixDescription}</td>
						<td>${prefix.prefixLevel}</td>
						<td>${prefix.prefixKeywords}</td>
					</tr>
				</c:forEach>
				<tr>
					<td colspan="100"><ec:page model="${paginationModel}"
						url="${pageContext.request.contextPath}/management/equipment/prefix/list"
						pattern="-{currentPage}-{rowSize}" /></td>
				</tr>
			</tbody>
		</table>
		</center>
		</div>
		</td>
	</tr>
</table>
</div>
</body>
</html>